package com.vehicle.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PetrolRecord {
    private Integer petrolid;
    private Integer carid;
    private Integer btypeid;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date petroltime;
    private Integer pid;
    private Integer petrolprice;
    private Double petroltotalprice;
    private Integer petrolnums;
    private Integer petrolstartkm;
    private Integer petrolendkm;
    private Integer lastpetrolnums;
    private Integer driverid;
    private Car car;
    private Btype btype;
    private Driver driver;
    private Petrol petrol;
}
